package com.rpc.config;

import com.rpc.util.RpcProxy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: zwg
 * @Date: 2019/1/7 13:26
 * @Description:
 */
@Configuration
public class BeanConfig {

    @Bean(name = "rpcProxy")
    public RpcProxy rpcProxy(){
        return new RpcProxy("127.0.0.1:8000");
    }
}
